﻿using Web.Blog.Services;
using Web.Blog.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using XCore.Dependency;
using XCore.Web;
using XCore.Web.Mvc;

namespace Web.Blog
{
    public class BlogControllerBase : XCoreControllerBase
    {
        /// <summary>
        /// EF 上下文对象
        /// </summary>
        protected BlogDbContext BDC { get; }
        public BlogControllerBase()
        {
            BDC = IocCollection.Resolve<BlogDbContext>();
        }


    }
}
